package com.vhall.component.entity.room.enums;

import com.vhall.component.entity.dictionary.enums.BaseEnum;

/**
 * RoomAssociationTypeEnum-
 * 关联房间类型| 0：适当性豁免关联产品 1：观看范围限定购买产品
 * @author xing.wang
 * @date 2023/10/23
 */
public enum RoomAssociationTypeEnum  implements BaseEnum {
    EXEMPTION_ASSOCIATION(0, "适当性豁免关联产品"), PURCHASE_ASSOCIATION(1, "观看范围限定购买产品");
    private final Integer value;
    private final String name;

    RoomAssociationTypeEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getName() {
        return name;
    }
}